﻿<div class="toolbar"><a href="<?=site_url('man/game/edit')?>">Add Game</a></div>
<table class="list">
<?php foreach ($games as $game): ?>
<tr>
	<td><?php echo $game['title'] ?></td>
    <td><a href="<?=site_url('man/game/edit/'.$game['id'])?>">Edit</a></td>
</tr>
<?php endforeach ?>
</table>